#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from typing import Optional, List,Any
from pydantic import BaseModel, Field, EmailStr
from datetime import datetime,timedelta,timezone


class RQUpdateRole(BaseModel):
    user_id:int
    roles:List[str] = Field()

    class Config:
        schema_extra = {
            "example": {
                "user_id" : 0,
                "roles": ['admin','agv_common','agv_admin'],
            }
        }

    
 